const initState = {
    loading:"456", 
    selet:"ho",
}

const inforesult =(state =initState, action)=>{
    switch (action.type) {
        case "SHOW_ALL":
            return { ...state,loading:action.loading}
        case "SHOW_MENU":
            return { ...state,selet:action.selet}
        default:
            return state
    }
    
}
export {inforesult} 